package com.aidex.biz.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;

/**
 * 线索成本记录对象 biz_xiansuo_chengben_log
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-03-24
 */
@Data
public class XiansuoChengbenLog extends BaseEntity<XiansuoChengbenLog> {
    private static final long serialVersionUID = 1L;


    /**
     * 来源
     */
    @Excel(name = "来源")
    private String laiyuan;

    /**
     * 城市
     */
    @Excel(name = "城市", dictType = "area_type")
    private String cityName;

    /**
     * 1广告客户 2其他客户
     */
    @Excel(name = "1广告客户 2其他客户")
    private String laiyuanType;

    /**
     * 当前线索成本
     */
    @Excel(name = "当前线索成本")
    private BigDecimal cost;

    /**
     * 客户ID
     */
    private String customerId;

    /**
     * 线索成本表ID
     */
    private String xscbId;

    /**
     * 排序
     */
    private Integer sort;
    /**
     * 是否重复 0  不重复 1重复
     */
    private Integer isRep;
    /**
     * 是否统计 0  不统计 1统计
     */
    private Integer isSum;
    /**
     * 状态（0正常 1 停用）
     */
    private String status;

    private String[] cityNames;

    public Integer getIsRep() {
        return isRep;
    }

    public void setIsRep(Integer isRep) {
        this.isRep = isRep;
    }

    public Integer getIsSum() {
        return isSum;
    }

    public void setIsSum(Integer isSum) {
        this.isSum = isSum;
    }

    public String getLaiyuan() {
        return laiyuan;
    }

    public void setLaiyuan(String laiyuan) {
        this.laiyuan = laiyuan;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getLaiyuanType() {
        return laiyuanType;
    }

    public void setLaiyuanType(String laiyuanType) {
        this.laiyuanType = laiyuanType;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getXscbId() {
        return xscbId;
    }

    public void setXscbId(String xscbId) {
        this.xscbId = xscbId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("userName", getUserName())
                .append("deptName", getDeptName())
                .append("companyId", getCompanyId())
                .append("laiyuan", getLaiyuan())
                .append("city", getCityName())
                .append("laiyuanType", getLaiyuanType())
                .append("cost", getCost())
                .append("customerId", getCustomerId())
                .append("xscbId", getXscbId())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createDept", getCreateDept())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("updateIp", getUpdateIp())
                .append("version", getVersion())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
